/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.team1160.beta.season2011.input.RoboModel;

/**
 *
 * @author sakekasi
 */
public class KickerModelEvent extends ModelEvent{
    public static final int KICKER=3;
    public static final int LATCH=4;



    public KickerModelEvent(boolean KICKER,
                        boolean LATCH){
          super();
          this.data[KickerModelEvent.KICKER]=KICKER?1:0;
          this.data[KickerModelEvent.LATCH]=LATCH?1:0;
    }

    public double[] getData() {
        return new double[]{this.data[KickerModelEvent.KICKER],
                            this.data[KickerModelEvent.LATCH]};
    }

    public void setData(double[] command) {
        this.data=command;
    }

}
